package com.demo.miya.controller.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@FeignClient(contextId = "miyaHelloClient", name = "service-miya")
@RestController
public interface MiyaHelloClient {

    @GetMapping("/hello")
    String hello();
}
